<html>
<head><meta charset="utf-8"><title>I-prioritize #73663 ICE: #cfg usage in a macro call · t-compiler/wg-prioritization · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/index.html">t-compiler/wg-prioritization</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html">I-prioritize #73663 ICE: #cfg usage in a macro call</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="201741282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201741282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201741282">(Jun 23 2020 at 15:28)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="2403">@WG-prioritization</span> issue <a href="https://github.com/rust-lang/rust/issues/73663">#73663</a> has been requested for prioritization.</p>



<a name="201741962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201741962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> o0Ignition0o - Jeremy Lempereur <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201741962">(Jun 23 2020 at 15:32)</a>:</h4>
<p>broad use case imo, could be Critical</p>



<a name="201743817"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201743817" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201743817">(Jun 23 2020 at 15:46)</a>:</h4>
<p>It sounds to me like this has a specific interaction with the <code>#![cfg(feature = ...)]</code>. How is that even resolved in macros? Is it the feature flags of the crate declaring the macro or the one consuming it?</p>



<a name="201745188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201745188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201745188">(Jun 23 2020 at 15:57)</a>:</h4>
<p>I'd say <code>P-high</code> IMO</p>



<a name="201844839"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201844839" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201844839">(Jun 24 2020 at 13:11)</a>:</h4>
<p>well it's an ice on an old nightly and Joshua can't reproduce it on the current nightly</p>



<a name="201844868"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201844868" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201844868">(Jun 24 2020 at 13:11)</a>:</h4>
<p>If it is already fixed should we close?</p>



<a name="201844927"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201844927" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201844927">(Jun 24 2020 at 13:12)</a>:</h4>
<p>let's wait and see if the author has the same issue on the latest nighty</p>



<a name="201844932"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201844932" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201844932">(Jun 24 2020 at 13:12)</a>:</h4>
<p>Maybe mark as <code>E-needs-test</code>?</p>



<a name="201887986"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201887986" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201887986">(Jun 24 2020 at 18:48)</a>:</h4>
<p>I wonder if we need a label like <code>disposition-close</code> but that is unrelated to FCPs and all that</p>



<a name="201888028"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201888028" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201888028">(Jun 24 2020 at 18:48)</a>:</h4>
<p>just a label that is like, let's give this issue some days and if nothing happens let's close it</p>



<a name="201888040"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201888040" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201888040">(Jun 24 2020 at 18:48)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="116083">@pnkfelix</span></p>



<a name="201888080"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201888080" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201888080">(Jun 24 2020 at 18:49)</a>:</h4>
<p>if that were the case I'd just remove <code>I-prioritize</code> and add a label like that</p>



<a name="201888116"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201888116" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201888116">(Jun 24 2020 at 18:49)</a>:</h4>
<p>maybe the <code>hz</code> idea that <span class="user-mention silent" data-user-id="116083">pnkfelix</span> had could be nice here</p>



<a name="201888181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201888181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201888181">(Jun 24 2020 at 18:49)</a>:</h4>
<p>I was going to remove <code>I-prioritize</code> but I don't know how would we keep track of this one</p>



<a name="201893114"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize%20%2373663%20ICE%3A%20%23cfg%20usage%20in%20a%20macro%20call/near/201893114" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/227806-t-compiler/wg-prioritization/topic/I-prioritize.20.2373663.20ICE.3A.20.23cfg.20usage.20in.20a.20macro.20call.html#201893114">(Jun 24 2020 at 19:33)</a>:</h4>
<p>Issue <a href="https://github.com/rust-lang/rust/issues/73663">#73663</a>'s prioritization request has been removed.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>